/*
 * @Author: moonwater 13812995013@163.com
 * @Date: 2025-02-27 11:10:42
 * @LastEditors: moonwater 13812995013@163.com
 * @LastEditTime: 2025-02-27 11:44:41
 * @FilePath: \��ʦ22Git�ֿ�\day04\Test01.java
 * @Description: ����Ĭ������,������`customMade`, ��koroFileHeader�鿴���� ��������: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */


public class Test01 {
    public static void main(String[] args) {
        //���������
        int a = 10;
        int b = 3;
        System.out.println(a+b);//13
        //ע������
        System.out.println(10+3);//13
        System.out.println("10"+3);//103
        // int c = 10;
        // c++; //c=c+1
        // System.out.println(c);//11
        // c = 10;
        // ++c; //c=c+1
        // System.out.println(c);
        // //����漰����ֵ
        int d;
        int c = 10;
        // d = c++;//h����++���ȸ�ֵ������
        d = ++c;//ǰ��++����������ֵ
        System.out.println(c);//11
        System.out.println(d);//11? 10

        int x = 4;
        int y = (x--)+(--x)+(x * 10);
        //(x--) x=3 (x--)=4
        //(--x) x=(--x)=2
        //(x*10)  x=2
        System.out.println(x);
        System.out.println(y);
        
        //�� Ů 0 1
        //����û���������� ��ô�ʹ�0 �������Ů�ʹ� 1
        String gender = "��";
        String s2 = gender == "��" ? "0" : "1";
        System.out.println(s2);
        // if (gender =="��") {
        //    s2 = "0";
        // } else {
        //     s2 = "1";
        // }

    

    }
    
}
